package com.itchen.hospital.service;

import com.itchen.hospital.common.Result;
import com.itchen.hospital.pojo.Admin;
import org.springframework.stereotype.Service;

@Service
public interface LoginService {
    /**
     * 登录
     * @param admin
     * @return
     */
    Admin login(Admin admin);

    /**
     * 注册
     * @param admin
     * @return
     */
    Result register(Admin admin);
}
